package com.bolingcavalry.crm.serviceorder.mapper;/*
 * @Auther:Sadie
 * @Date:2025/4/24
 * @Description:
 * @VERSON:1.8
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.serviceorder.ServiceOrderProduct;
import com.vo.ProductVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ServiceOrderProductMapper extends BaseMapper<ServiceOrderProduct> {
    List<ProductVO> selectByOrderId(@Param("serviceOrderId") Long serviceOrderId);

    void deleteBatchByOrderId(@Param("validIds") List<Long> validIds);
}